package com.zhiyou.crud.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhiyou.crud.bean.Employee;
import com.zhiyou.crud.dao.EmployeeMapper;
import com.zhiyou.crud.service.EmployeeService;
@Service
public class EmployeeServiceImpl implements EmployeeService{
	@Autowired
	EmployeeMapper employeemapper;
	public List<Employee> getAll(){
		List<Employee> list= employeemapper.selectAll();
		return list;
	}
}
